home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0164.dms
/
ff.0164.adf
/
Newton
/
Makefile
< prev
next >
Wrap
Makefile
|
1988-11-22
|
994b
|
38 lines
############################################################################
# Makefile for the "Newton" program, using Manx C V3.6a.
#
# Written by Daniel Barrett. 100% PUBLIC DOMAIN.
############################################################################
LFLAGS=-g +Q
SRC=main.c complex.c io.c ds.c strtok.c
OBJ=main.o complex.o io.o ds.o strtok.o
PROG=Newton
# Use ma32.lib for IEEE double precision floating point arithmetic.
CFLAGS=+L -n +Iinclude.pre +fi
LIBS=-lma32 -lc32
# Or, Use m32.lib for faster, less precise arithmetic.
#CFLAGS=+L -n +Iinclude.pre
#LIBS=-lm32 -lc32
# Or, use 68881 library for double precision arithmetic.
# Program crashed when I tried to run it after this compilation.
#CFLAGS=+L -n +Iinclude.pre +f8
#LIBS=-lm832 -lc32
amiga: include.pre $(PROG)
include.pre: decl.h
cc +L -n +Hinclude.pre decl.h
delete decl.o
$(PROG): $(OBJ)
ln $(LFLAGS) $(OBJ) -o $(PROG) $(LIBS)
$(OBJ): decl.h
clean:
delete \#?.o $(PROG) $(PROG).dbg include.pre